Use BD_SYS_ATENCIONES
Go
Create Procedure dbo.GRDetRequerimiento_Obtener(
   @iNumReq     int
)
As
Begin
      
   Select 
      iNumReq, iCodMat, nCanReq, iCodUsu, vNomTer, dtFecAct
   From GRDetRequerimiento 
   Where iNumReq = @iNumReq
   Order By iCodMat
   
End